

set more off
use Arriola_Grossman_JOP.dta, clear
capture log using Arriola_Grossman_JOP_log.txt, replace t


/**************************************************************REPLICATION CODE & DATA (29 December 2019)

Leonardo R. Arriola and Allison N. Grossman. "Ethnic Marginalization and (Non)Compliance in Public Health Emergencies." Journal of Politics. Forthcoming.

All analyses were conducted in Stata 14.2.

Filenames: 
Arriola_Grossman_JOP.do
Arriola_Grossman_JOP.dta

Data Note: Stata command 'outreg2' used to generate Word tables and may need to be downloaded. 
For questions, contact: larriola@berkeley.edu or allison.grossman@berkeley.edu.

File Output: 
(1) Arriola_Grossman_JOP_log.txt [log file]
(2) Arriola_Grossman_Table2A_Follow.doc [Article Table 2]
(3) Arriola_Grossman_Table2B_Encourage.doc [Article Table 2]
(4) Arriola_Grossman_Table2C_Test.doc [Article Table 2]
(5) Arriola_Grossman_Table3_Identification.doc [Article Table 3]
(6) Arriola_Grossman_Table4A_Pres.doc [Article Table 4]
(7) Arriola_Grossman_Table4B_Sous.doc [Article Table 4]
(8) Arriola_Grossman_Table4C_Cust.doc [Article Table 4]
(9) Arriola_Grossman_Table4D_Imam.doc [Article Table 4]
(10) Arriola_Grossman_Table4E_UN.doc [Article Table 4]
(11) Arriola_Grossman_Table5A_Pres.doc [Article Table 5]
(12) Arriola_Grossman_Table5B_Sous.doc [Article Table 5]
(13) Arriola_Grossman_Table5C_Cust.doc [Article Table 5]
(14) Arriola_Grossman_Table5D_Imam.doc [Article Table 5]
(15) Arriola_Grossman_Table5E_UN.doc [Article Table 5]
(16) Arriola_Grossman_TableX5_Follow_Pooled.doc [Appendix Table 5]
(17) Arriola_Grossman_TableX6_Encourage_Pooled.doc [Appendix Table 6]
(18) Arriola_Grossman_TableX7_Test_Pooled.doc [Appendix Table 7]
(19) Arriola_Grossman_TableX8_Follow.doc [Appendix Table 8]
(20) Arriola_Grossman_TableX9_Encourage.doc [Appendix Table 9]
(21) Arriola_Grossman_TableX10_Test.doc [Appendix Table 10]
(22) Arriola_Grossman_TableX11_Follow.doc [Appendix Table 11]
(23) Arriola_Grossman_TableX12_Encourage.doc [Appendix Table 12]
(24) Arriola_Grossman_TableX13_Test.doc [Appendix Table 13]
(25) Arriola_Grossman_TableX14_Effective.doc [Appendix Table 14]
(26) Arriola_Grossman_TableX15_Pres.doc [Appendix Table 15]
(27) Arriola_Grossman_TableX16_Sous.doc [Appendix Table 16]
(28) Arriola_Grossman_TableX17_Cust.doc [Appendix Table 17]
(29) Arriola_Grossman_TableX18_Imam.doc [Appendix Table 18]
(30) Arriola_Grossman_TableX19_UN.doc [Appendix Table 19]
(31) Arriola_Grossman_TableX20_Pres.doc [Appendix Table 20]
(32) Arriola_Grossman_TableX21_Sous.doc [Appendix Table 21]
(33) Arriola_Grossman_TableX22_Cust.doc [Appendix Table 22]
(34) Arriola_Grossman_TableX23_Imam.doc [Appendix Table 23]
(35) Arriola_Grossman_TableX24_UN.doc [Appendix Table 24]


**************************************************************/


********** VARIABLE DEFINITIONS *****************

describe


********** TABLE 1: PERCEIVED GOVERNMENT EFFECTIVENESS BY ETHNIC GROUP *****************

*Compare Ethnic Peul vs. Ethnic Malinke  
ttest resp_chol, by(compare_pe_ma)
ttest resp_ebola, by(compare_pe_ma)
ttest resp_hiv, by(compare_pe_ma)
ttest resp_mala, by(compare_pe_ma)
ttest resp_meas, by(compare_pe_ma)
ttest resp_menin, by(compare_pe_ma)
ttest resp_tube, by(compare_pe_ma)

*Compare Ethnic Peul vs. Ethnic Soussou
ttest resp_chol, by(compare_pe_ss)
ttest resp_ebola, by(compare_pe_ss)
ttest resp_hiv, by(compare_pe_ss)
ttest resp_mala, by(compare_pe_ss)
ttest resp_meas, by(compare_pe_ss)
ttest resp_menin, by(compare_pe_ss)
ttest resp_tube, by(compare_pe_ss)

*Compare Ethnic Soussou vs. Ethnic Malinke
ttest resp_chol, by(compare_ss_ma)
ttest resp_ebola, by(compare_ss_ma)
ttest resp_hiv, by(compare_ss_ma)
ttest resp_mala, by(compare_ss_ma)
ttest resp_meas, by(compare_ss_ma)
ttest resp_menin, by(compare_ss_ma)
ttest resp_tube, by(compare_ss_ma)


********** TABLE 2: FOLLOW HIV ADVISORY *****************

reg dv_accept treat_sous treat_cust treat_imam treat_un if ethpeul==1
outreg2 using Arriola_Johnson_Table2A_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_accept treat_sous treat_cust treat_imam treat_un if ethsoussou==1
outreg2 using Arriola_Johnson_Table2A_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_accept treat_sous treat_cust treat_imam treat_un if ethmalinke==1
outreg2 using Arriola_Johnson_Table2A_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** TABLE 2: ENCOURAGE FAMILY MEMBERS TO FOLLOW HIV ADVISORY *****************

reg dv_encourage treat_sous treat_cust treat_imam treat_un if ethpeul==1
outreg2 using Arriola_Johnson_Table2B_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_encourage treat_sous treat_cust treat_imam treat_un if ethsoussou==1
outreg2 using Arriola_Johnson_Table2B_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_encourage treat_sous treat_cust treat_imam treat_un if ethmalinke==1
outreg2 using Arriola_Johnson_Table2B_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** TABLE 2: GO TO HEALTH CENTER FOR HIV TEST *****************

reg dv_go treat_sous treat_cust treat_imam treat_un if ethpeul==1
outreg2 using Arriola_Johnson_Table2C_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_go treat_sous treat_cust treat_imam treat_un if ethsoussou==1
outreg2 using Arriola_Johnson_Table2C_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_go treat_sous treat_cust treat_imam treat_un if ethmalinke==1
outreg2 using Arriola_Johnson_Table2C_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** TABLE 3: DIFFERENCES IN IDENTIFICATION, DISCRIMINATION, AND TRUST *****************

reg ethnic_identity ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_Table3_Identification.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Identity) replace

reg ethnic_unjust ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_Table3_Identification.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Unjust) append

reg trust_index  ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_Table3_Identification.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Trust) append

reg effective_index  ethsoussou ethmalinke life_conds rural woman age 
outreg2 using Arriola_Johnson_Table3_Identification.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Effective) append


********** TABLE 4: PERCEPTION OF CARE BY AUTHORITIES  *****************

reg care_pres ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table4A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_pres ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table4A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_pres ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table4A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg care_sous ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table4B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_sous ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table4B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_sous ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table4B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg care_cust ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table4C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_cust ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table4C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_cust ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table4C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg care_imam ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table4D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_imam ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table4D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_imam ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table4D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg care_un ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table4E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_un ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table4E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_un ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table4E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** TABLE 5: COMPLIANCE WITH AUTHORITY TYPE *****************

reg comply_pres ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table5A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_pres ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table5A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_pres ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table5A_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg comply_sous ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table5B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_sous ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table5B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_sous ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table5B_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg comply_cust ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table5C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_cust ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table5C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_cust ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table5C_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg comply_imam ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table5D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_imam ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table5D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_imam ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table5D_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append

reg comply_un ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_Table5E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_un ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_Table5E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_un ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_Table5E_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 1: REPORTED DISEASE PREVALENCE BY ETHNIC GROUP *****************

*Compare Peul and Malinke 
ttest ill_chol, by(compare_pe_ma)
ttest ill_ebola, by(compare_pe_ma)
ttest ill_hiv, by(compare_pe_ma)
ttest ill_mala, by(compare_pe_ma)
ttest ill_meas, by(compare_pe_ma)
ttest ill_menin, by(compare_pe_ma)
ttest ill_tube, by(compare_pe_ma)

*Compare Peul and Soussou
ttest ill_chol, by(compare_pe_ss)
ttest ill_ebola, by(compare_pe_ss)
ttest ill_hiv, by(compare_pe_ss)
ttest ill_mala, by(compare_pe_ss)
ttest ill_meas, by(compare_pe_ss)
ttest ill_menin, by(compare_pe_ss)
ttest ill_tube, by(compare_pe_ss)

*Compare Soussou and Malinke 
ttest ill_chol, by(compare_ss_ma)
ttest ill_ebola, by(compare_ss_ma)
ttest ill_hiv, by(compare_ss_ma)
ttest ill_mala, by(compare_ss_ma)
ttest ill_meas, by(compare_ss_ma)
ttest ill_menin, by(compare_ss_ma)
ttest ill_tube, by(compare_ss_ma)


********** APPENDIX TABLE 2: DESCRIPTIVE STATISTICS *****************

sum dv_accept dv_encourage dv_go care_pres care_sous care_cust care_imam care_un comply_pres comply_sous comply_cust comply_imam comply_un ethnic_identity ethnic_unjust ethpeul ethsoussou ethmalinke trust_index effective_index life_conds rural woman age


********** APPENDIX TABLE 3: COVARIATE BALANCE *****************

*Compare president and sous-prefet treatments
ttest ethnic_identity, by(compare_pr_so)
ttest ethnic_unjust, by(compare_pr_so)
ttest ethpeul, by(compare_pr_so)
ttest ethsoussou, by(compare_pr_so)
ttest ethmalinke, by(compare_pr_so)
ttest trust_index, by(compare_pr_so)
ttest effective_index, by(compare_pr_so)
ttest life_conds, by(compare_pr_so)
ttest rural, by(compare_pr_so)
ttest woman, by(compare_pr_so)
ttest age, by(compare_pr_so)

*Compare president and customary leader treatments
ttest ethnic_identity, by(compare_pr_cu)
ttest ethnic_unjust, by(compare_pr_cu)
ttest ethpeul, by(compare_pr_cu)
ttest ethsoussou, by(compare_pr_cu)
ttest ethmalinke, by(compare_pr_cu)
ttest trust_index, by(compare_pr_cu)
ttest effective_index, by(compare_pr_cu)
ttest life_conds, by(compare_pr_cu)
ttest rural, by(compare_pr_cu)
ttest woman, by(compare_pr_cu)
ttest age, by(compare_pr_cu)

*compare president and religious leader treatments
ttest ethnic_identity, by(compare_pr_im)
ttest ethnic_unjust, by(compare_pr_im)
ttest ethpeul, by(compare_pr_im)
ttest ethsoussou, by(compare_pr_im)
ttest ethmalinke, by(compare_pr_im)
ttest trust_index, by(compare_pr_im)
ttest effective_index, by(compare_pr_im)
ttest life_conds, by(compare_pr_im)
ttest rural, by(compare_pr_im)
ttest woman, by(compare_pr_im)
ttest age, by(compare_pr_im)

*compare president and UN treatments
ttest ethnic_identity, by(compare_pr_un)
ttest ethnic_unjust, by(compare_pr_un)
ttest ethpeul, by(compare_pr_un)
ttest ethsoussou, by(compare_pr_un)
ttest ethmalinke, by(compare_pr_un)
ttest trust_index, by(compare_pr_un)
ttest effective_index, by(compare_pr_un)
ttest life_conds, by(compare_pr_un)
ttest rural, by(compare_pr_un)
ttest woman, by(compare_pr_un)
ttest age, by(compare_pr_un)


********** APPENDIX TABLE 4: DIFFERENCES IN RESPONSES TO HIV ADVISORY *****************

*Peul sample: Follow HIV advisory
ttest dv_accept if ethpeul==1, by(compare_pr_so)
ttest dv_accept if ethpeul==1, by(compare_pr_cu)
ttest dv_accept if ethpeul==1, by(compare_pr_im)
ttest dv_accept if ethpeul==1, by(compare_pr_un)

*Peul sample: Encourage family members to follow HIV advisory
ttest dv_encourage if ethpeul==1, by(compare_pr_so)
ttest dv_encourage if ethpeul==1, by(compare_pr_cu)
ttest dv_encourage if ethpeul==1, by(compare_pr_im)
ttest dv_encourage if ethpeul==1, by(compare_pr_un)

*Peul sample: Go to health center for HIV test
ttest dv_go if ethpeul==1, by(compare_pr_so)
ttest dv_go if ethpeul==1, by(compare_pr_cu)
ttest dv_go if ethpeul==1, by(compare_pr_im)
ttest dv_go if ethpeul==1, by(compare_pr_un)

*Soussou sample: Follow HIV advisory
ttest dv_accept if ethsoussou==1, by(compare_pr_so)
ttest dv_accept if ethsoussou==1, by(compare_pr_cu)
ttest dv_accept if ethsoussou==1, by(compare_pr_im)
ttest dv_accept if ethsoussou==1, by(compare_pr_un)

*Soussou sample: Encourage family members to follow HIV advisory
ttest dv_encourage if ethsoussou==1, by(compare_pr_so)
ttest dv_encourage if ethsoussou==1, by(compare_pr_cu)
ttest dv_encourage if ethsoussou==1, by(compare_pr_im)
ttest dv_encourage if ethsoussou==1, by(compare_pr_un)

*Soussou sample: Go to health center for HIV test
ttest dv_go if ethsoussou==1, by(compare_pr_so)
ttest dv_go if ethsoussou==1, by(compare_pr_cu)
ttest dv_go if ethsoussou==1, by(compare_pr_im)
ttest dv_go if ethsoussou==1, by(compare_pr_un)

*Malinke sample: Follow HIV advisory
ttest dv_accept if ethmalinke==1, by(compare_pr_so)
ttest dv_accept if ethmalinke==1, by(compare_pr_cu)
ttest dv_accept if ethmalinke==1, by(compare_pr_im)
ttest dv_accept if ethmalinke==1, by(compare_pr_un)

*Malinke sample: Encourage family members to follow HIV advisory
ttest dv_encourage if ethmalinke==1, by(compare_pr_so)
ttest dv_encourage if ethmalinke==1, by(compare_pr_cu)
ttest dv_encourage if ethmalinke==1, by(compare_pr_im)
ttest dv_encourage if ethmalinke==1, by(compare_pr_un)

*Malinke sample: Go to health center for HIV test
ttest dv_go if ethmalinke==1, by(compare_pr_so)
ttest dv_go if ethmalinke==1, by(compare_pr_cu)
ttest dv_go if ethmalinke==1, by(compare_pr_im)
ttest dv_go if ethmalinke==1, by(compare_pr_un)


********** APPENDIX TABLE 5: FOLLOW HIV ADVISORY: POOLED ANALYSIS *****************

reg dv_accept treat_sous treat_cust treat_imam treat_un 
outreg2 using Arriola_Johnson_TableX5_Follow_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Follow) replace

reg dv_accept treat_sous treat_cust treat_imam treat_un rural woman age
outreg2 using Arriola_Johnson_TableX5_Follow_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Follow) append


********** APPENDIX TABLE 6: ENCOURAGE FAMILY TO FOLLOW HIV ADVISORY: POOLED ANALYSIS *****************

reg dv_encourage treat_sous treat_cust treat_imam treat_un 
outreg2 using Arriola_Johnson_TableX6_Encourage_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Encourage) replace

reg dv_encourage treat_sous treat_cust treat_imam treat_un rural woman age
outreg2 using Arriola_Johnson_TableX6_Encourage_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Encourage) append


********** APPENDIX TABLE 7: GO TO HEALTH CENTER FOR HIV TEST: POOLED ANALYSIS *****************

*Test with no ethnicity variables
reg dv_go treat_sous treat_cust treat_imam treat_un 
outreg2 using Arriola_Johnson_TableX7_Test_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Test) replace

reg dv_go treat_sous treat_cust treat_imam treat_un rural woman age
outreg2 using Arriola_Johnson_TableX7_Test_Pooled.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Test) append


********** APPENDIX TABLE 8: FOLLOW HIV ADVISORY: ETHNIC DUMMY VARIABLES *****************

*Interaction terms between treatments and ethnicity
gen treat_sous_Soussou=treat_sous*ethsoussou
gen treat_sous_Malinke=treat_sous*ethmalinke
gen treat_cust_Soussou=treat_cust*ethsoussou
gen treat_cust_Malinke=treat_cust*ethmalinke
gen treat_imam_Soussou=treat_imam*ethsoussou
gen treat_imam_Malinke=treat_imam*ethmalinke
gen treat_un_Soussou=treat_un*ethsoussou
gen treat_un_Malinke=treat_un*ethmalinke

reg dv_accept ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke
outreg2 using Arriola_Johnson_TableX8_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) replace

testparm ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke


********** APPENDIX TABLE 9: ENCOURAGE FAMILY MEMBERS TO FOLLOW HIV ADVISORY: ETHNIC DUMMY VARIABLES *****************

reg dv_encourage ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke
outreg2 using Arriola_Johnson_TableX9_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) replace

testparm ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke


********** APPENDIX TABLE 10: GO TO HEALTH CENTER FOR HIV TEST: ETHNIC DUMMY VARIABLES *****************

reg dv_go ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke
outreg2 using Arriola_Johnson_TableX10_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) replace

testparm ethsoussou ethmalinke treat_sous treat_sous_Soussou treat_sous_Malinke treat_cust treat_cust_Soussou treat_cust_Malinke treat_imam treat_imam_Soussou treat_imam_Malinke treat_un treat_un_Soussou treat_un_Malinke


********** APPENDIX TABLE 11: FOLLOW HIV ADVISORY WITH CONTROLS *****************

reg dv_accept treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX11_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_accept treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX11_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_accept treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX11_Follow.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 12: ENCOURAGE FAMILY MEMBERS TO FOLLOW HIV ADVISORY WITH CONTROLS *****************

reg dv_encourage treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX12_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_encourage treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX12_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_encourage treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX12_Encourage.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 13: GO TO HEALTH CENTER FOR HIV TEST WITH CONTROLS *****************

reg dv_go treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX13_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg dv_go treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX13_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg dv_go treat_sous treat_cust treat_imam treat_un life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX13_Test.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 14: EFFECTIVENESS INDEX *****************

reg ethnic_identity ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_TableX14_Effective.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Identity) replace

reg ethnic_unjust ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_TableX14_Effective.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Unjust) append

reg trust_index  ethsoussou ethmalinke life_conds rural woman age
outreg2 using Arriola_Johnson_TableX14_Effective.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Trust) append

reg effective_index  ethsoussou ethmalinke life_conds rural woman age ill_chol ill_ebola ill_hiv ill_mala ill_meas ill_menin ill_tube
outreg2 using Arriola_Johnson_TableX14_Effective.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle(Effective) append


********** APPENDIX TABLE 15: PERCEPTION OF CARE BY PRESIDENT  *****************

reg care_pres ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX15_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_pres ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX15_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_pres ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX15_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 16: PERCEPTION OF CARE BY SOUS-PREFET  *****************

reg care_sous ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX16_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_sous ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX16_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_sous ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX16_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 17: PERCEPTION OF CARE BY CUSTOMARY LEADER  *****************

reg care_cust ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX17_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_cust ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX17_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_cust ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX17_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 18: PERCEPTION OF CARE BY RELIGIOUS LEADER  *****************

reg care_imam ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX18_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_imam ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX18_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_imam ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX18_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 19: PERCEPTION OF CARE BY UN REPRESENTATIVE *****************

reg care_un ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX19_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg care_un ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX19_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg care_un ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX19_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 20: COMPLIANCE WITH PRESIDENT *****************

reg comply_pres ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX20_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_pres ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX20_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_pres ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX20_Pres.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 21: COMPLIANCE WITH SOUS-PREFET *****************

reg comply_sous ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX21_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_sous ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX21_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_sous ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX21_Sous.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 22: COMPLIANCE WITH CUSTOMARY LEADER *****************

reg comply_cust ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX22_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_cust ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX22_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_cust ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX22_Cust.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 23: COMPLIANCE WITH RELIGIOUS LEADER *****************

reg comply_imam ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX23_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_imam ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX23_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_imam ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX23_Imam.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


********** APPENDIX TABLE 24: COMPLIANCE WITH UN REPRESENTATIVE *****************

reg comply_un ethnic_unjust life_conds rural woman age if ethpeul==1
outreg2 using Arriola_Johnson_TableX24_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Peul) replace

reg comply_un ethnic_unjust life_conds rural woman age if ethsoussou==1
outreg2 using Arriola_Johnson_TableX24_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Soussou) append

reg comply_un ethnic_unjust life_conds rural woman age if ethmalinke==1
outreg2 using Arriola_Johnson_TableX24_UN.doc, bdec(3) aster(coef) alpha(0.01, 0.05, 0.10) ctitle (Malinke) append


*********************

log close

clear








